#include <iostream>
#include <string>

using namespace std;

class Dog {
   public:
    int age;
    string name;
    void set_age(int x) {
        age = x;
    }
    void set_name(string x) {
        name = x;
    }
    int get_age() const {
        return age;
    }
    string get_name() const {
        return name;
    }
};

void print_Dog(const Dog& Dog) {
    cout << "This is my Dog:" << endl;
    cout << Dog.get_name() << endl;
    cout << Dog.get_age() << endl;
}

int main() {
    int age;
    string name;
    cin >> name >> age;
    Dog Dog;
    Dog.set_name(name);
    Dog.set_age(age);
    print_Dog(Dog);
}